import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
  
    component: () => import('../views/About.vue')
  },
  {
    path: '/index',
    name: 'index',
  
    component: () => import('../views/index.vue')
  },
  {
    path: '/maowu',
    name: 'maowu',
  
    component: () => import('../views/maowu.vue')
  },
  {
    path: '/gongju',
    name: 'gongju',
  
    component: () => import('../views/gongju.vue')
  },
  {
    path: '/my',
    name: 'my',
  
    component: () => import('../views/my.vue')
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
